//
//  WCABaseModel.m
//  WeChatHelper
//
//  Created by Guo Rui on 2017/12/7.
//  Copyright © 2017年 TimeFace. All rights reserved.
//

#import "WCABaseModel.h"
#import "YYModel.h"
@implementation WCABaseModel

+ (instancetype)modelWithDict:(NSDictionary *)dict
{
    return [self yy_modelWithDictionary:dict];
}

+ (NSArray *)modelWithArray:(NSArray <NSDictionary *>*)dicts
{
    NSMutableArray *models = [NSMutableArray arrayWithCapacity:0];
    for (NSDictionary *dict in dicts) {
        [models addObject:[self modelWithDict:dict]];
    }
    return models.copy;
}

@end
